package com.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mapper.HistoryMapper;
import com.example.pojo.History;
import com.example.service.HistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HistoryServiceImpl extends ServiceImpl<HistoryMapper, History> implements HistoryService {
    @Autowired
    private HistoryMapper historyMapper;

    @Override
    public int count1() {
        return historyMapper.count1();
    }

    @Override
    public int count2() {
        return historyMapper.count2();
    }
}
